﻿using Sunny.UI;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace Ldt.WindowsFormsApp
{
    public partial class FormBack : UIForm
    {
        public FormBack()
        {
            InitializeComponent();
        }

        /// <summary>
        /// 数据回填测试
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void uiButton1_Click(object sender, EventArgs e)
        {
            FormMain formMain = (FormMain)this.Owner;
            formMain.FillBackOpt(textBox1.Text, this);
        }

        /// <summary>
        /// 调度分析信息
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void uiButton2_Click(object sender, EventArgs e)
        {
            FormMain formMain = (FormMain)this.Owner;
            formMain.TestAnalysisServer(textBox1.Text,this);
        }

        private void uiButton3_Click(object sender, EventArgs e)
        {
            FormMain formMain = (FormMain)this.Owner;
            formMain.Publicserver(textBox1.Text, this);

        }

        /// <summary>
        /// 段落分析测试
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void uiButton4_Click(object sender, EventArgs e)
        {
            FormMain formMain = (FormMain)this.Owner;
            formMain.ParagraphAnalysis(textBox1.Text, this);
        }
    }
}
